const IndexDivination = r =>
    require.ensure(
        [],
        () => r(require('@/components/divination/IndexDivination')),
        'IndexDivination'
    )
const IndexZodiac = r =>
    require.ensure(
        [],
        () => r(require('@/components/zodiac/IndexZodiac')),
        'IndexZodiac'
    )

const routes = [
    {
        path: '/index/divination',
        name: 'IndexDivination',
        component: IndexDivination,
        meta: {
            title: '易占卜',
        },
    },
    {
        path: '/index/zodiac',
        name: 'IndexZodiac',
        component: IndexZodiac,
        meta: {
            title: '易星座',
        },
    },
]
export default routes
